﻿#region

using System.Xml.Serialization;

#endregion

namespace DotNetMax.CodeGen.Model.Entity
{
    /// <summary>
    /// Entidade de Informações Extras sobre um PlugIn
    /// </summary>
    public class ExtendedPlugInManifest
    {
        #region Constructor

        public ExtendedPlugInManifest(string fullDescription, string creator, string webSite)
        {
            _FullDescription = fullDescription;
            _Creator = creator;
            _WebSite = webSite;
        }

        public ExtendedPlugInManifest()
        {
        }

        #endregion

        #region Fields

        private string _Creator;
        private string _FullDescription;
        private string _WebSite;

        #endregion

        #region Properties

        /// <summary>
        /// Retorna a Descrição do PlugIn
        /// </summary>
        [XmlAttribute("FullDescription")]
        public string FullDescription
        {
            get { return _FullDescription; }
            set { _FullDescription = value; }
        }

        /// <summary>
        /// Retorna o Criador do PlugIn
        /// </summary>
        [XmlAttribute("Creator")]
        public string Creator
        {
            get { return _Creator; }
            set { _Creator = value; }
        }

        /// <summary>
        /// Retorna o Site de Referência do PlugIn
        /// </summary>
        [XmlAttribute("WebSite")]
        public string WebSite
        {
            get { return _WebSite; }
            set { _WebSite = value; }
        }

        #endregion
    }
}